home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
sd11.zip
/
SHFTDOWN.DOC
next >
Wrap
Text File
|
1991-03-13
|
4KB
|
97 lines
ShiftDown 1.0
A Utility For Using Some QuickBBS Doors
with RemoteAccess
by Eric Vice
1:249/310@fidonet.org
INTRODUCTION & DISCLAIMER
-------------------------
You've heard it all before. It if breaks, you own both
pieces. I assume NO liability for any damage this program
may cause you. I wrote it inside of half an hour. I've
tested it THOROUGHLY, and it works just FINE on my system,
but that doesn't mean that I guarantee it will work on
yours. You get what you pay for, and this program is FREE.
It is written in Turbo Pascal 5.5.
THE DILEMMA
-----------
QuickBBS is a great BBS program. RemoteAccess is even
better. QuickBBS has access levels from 0 to 32000.
RemoteAccess has access levels from 0 to 64000. To save
some of the non tech people who are reading this a lot of
grief, I'll try to brief and explain this in layman's terms.
A lot of QuickBBS doors read the user's security level from
DORINFO1.DEF. The doors authors defined the security level
as a "short integer". This assumes that the number will be
between 0 and 32000. If someone uses the door who has an
access level over 32000, different things MAY happen, not
the least of which, may be a resulting system crash.
WHAT IT DOES
------------
SHFTDOWN is run in your door batch file(s) BEFORE the door
is loaded, but AFTER the door converter (if you have one).
It skims through your DORINFO1.DEF and "shifts down" the
access level =only= if the access level it finds is an
"illegal" QuickBBS access level (i.e. over 32000). When it
finds such an access level, it changes it to the maximum
allowable QuickBBS access level (32000). If the access
level it finds is lower than 32000, it does nothing, and
leaves it where it is.
AN EXAMPLE
----------
I wrote this program so that I could use RAD v2.03 (Remote
Access Database by Harvey Parisien, an EXCELLENT multi-
purpose online database door) with RemoteAccess. My batch
file, which I run from a Type 7 exit, looks like this:
@ECHO OFF
D:
CD \RA
SHFTDOWN
COPY DORINFO1.DEF D:\DOORS\RAD
CD \DOORS\RAD
RADPLUS
CD \RA
DISTRIBUTION POLICY
-------------------
This program is freeware. Took me less than a day to write
it, so I hardly expect people to pay for it. If it saves you
a system crash, drop me a netmail at the address on the masthead
with a word of thanks. That's all I request.
HISTORY (FOR THOSE WHO CARE)
----------------------------
1.0 The initial release
1.1 I was in =much= too much of a hurry to get 1.0 "out the
door". The routine that checked to see if DORINFO1.DEF
was there to begin with would always show a negative
value, even if the file WAS there, and would cause the
program to hang, causing the same error that the
program was trying to avoid to begin with (but alas, in
most cases, in a much more civilized language) :-)
Fixed!
QuickBBS is a trademark of Richard Creighton and Steve
Gabrilowitz.
RemoteAccess is a trademark of Andrew Milner and Continental
Software.
Turbo Pascal is a trademark of Borland International.